home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / rpcdcpro / rpc_msg.h < prev    next >
C/C++ Source or Header  |  1998-12-02  |  494b  |  29 lines

  1. #ifndef _RPCMSG_INCLUDED
  2.  
  3. #define _RPCMSG_INCLUDED
  4.  
  5. #include <stdlib.h>
  6.  
  7. #define MAX_BUF_SIZE 8192
  8.  
  9. class RPC_MSG {
  10.  
  11.     public:
  12.  
  13. #ifdef _RPCDC
  14.     __declspec(dllexport)
  15. #endif
  16.         void autoinit ();
  17.                     
  18. #ifdef _RPCDC
  19.     __declspec(dllexport)
  20. #endif
  21.         RPC_MSG ();
  22.                     
  23.         int running;
  24.         size_t bufsize;             // Taille du buffer en cours
  25.         char buffer[MAX_BUF_SIZE];  // Buffer temporaire
  26. };
  27.  
  28. #endif
  29.